* lisp/outline.el: Keep point on the same outline after revert.
authorJuri Linkov <juri@linkov.net>
Mon, 17 Jun 2024 06:32:45 +0000 (09:32 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 17 Jun 2024 06:32:45 +0000 (09:32 +0300)
commit7be66d8223e49489b2803c0ff027f1824d774441
treef1d2653b9af8f3a3bcbac4231a1ca7bcbd34a9f7
parentf18a915690c48119daaecf5b8684c46129496866
* lisp/outline.el: Keep point on the same outline after revert.

(outline-hidden-headings-paths): Return the current path as well.
(outline-hidden-headings-restore-paths): Move point to the path
that was current before reverting the buffer (bug#71466).
(outline-revert-buffer-restore-visibility):
Handle both values returned from outline-hidden-headings-paths.
lisp/outline.el